/*
 * $Id: Gate.h,v 1.3 2005-11-22 11:39:06 bacon Exp $
 */

#ifndef _GATE_CLASS_
#define _GATE_CLASS_

#include <xpp/Named.h>
#include <xpp/bas/Thread.h>

using namespace xpp;
using namespace xpp::bas;

class Gate: public Named, public Thread
{
public:
	Gate (const xp_char_t* name);
	~Gate ();

	int run ();
	virtual int main () = 0;
	virtual int stop () = 0;
};

#endif
